package day05;

public class ForDemo {
    public static void main(String[] args) {


        int sum=0;
        for (int a=1;a<=100;a++){
            System.out.println(sum+=a);
        }


    }
}
